<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主页面</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0">
    <link rel="stylesheet" type="text/css" href="../css/mainPage.css">
    <link rel="stylesheet" type="text/css" href="../lib/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="../lib/fontasome/css/font-awesome.css">
    <script type="text/javascript" src="../lib/vue.min.js"></script>
    <script type="text/javascript" src="../lib/vue-router.min.js"></script>
    <script type="text/javascript" src="../lib/vue-resource.min.js"></script>

     
</head>
<body>
    <div class="view_box">
        <div id="message_view">
            <div class="background">
                <div class="searchText">
                    <input type="text" class="form-control" v-model="searchName">
                </div>
                <div v-for="(User,index) in allUser" v-if="User.id.search(searchName)>-1">
                    <div class="Button contactButton" @click="window.toBack(User)">
                        <img :src="window.android.getIcon(User.icon)" alt="">
                        <div>
                            
                            <h3>{{User.nickname}}</h3>
                            <p>{{User.id}}</p>
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
        

    </div>
    <script type="text/javascript" src="../js/SearchUser.js"></script>
</body>
</html>